home *** CD-ROM | disk | FTP | other *** search
- The antispam patch included adds some features qmail's SMTP daemon:
-
- Logging.
- ¯¯¯¯¯¯¯¯
-
- Logs "out of memory" situations.
- Logs connection timeouts.
- Logs unauthorised relaying attempts.
- Logs rejected addresses.
- Logs SMTP clients which claim to be someone else.
-
-
- Envelope address filtering.
- ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
-
- qmail-smtpd will read the DENYMAIL environment variable to determine how to
- handle sender addresses:
-
- DENYMAIL set to anything
- The address will be rejected if
- - it doesn't contain a '@'.
- - it contains a bang path without a host name ("user!@domain").
- - the domain part has no '.' in it.
- - the top level domain has fewer than 2 or more than 3 characters in it.
-
- DENYMAIL set to DNSCHECK
- The address will be rejected if
- - there are no MX or A records in the DNS for the domain part (= you can't
- send a reply). Note that in case of temporary DNS errors, the address will
- be rejected with a temporary error code so the remote MTA will try again
- later.
-
- DENYMAIL set to NOBOUNCE
- Bounces (envelope sender empty or "#@[]") will be rejected.
-
- DENYMAIL set to SPAM
- All addresses will be rejected.
-
- The patch extends the syntax of control/badmailfrom. In addition to the
-
- user@domain
- @domain
-
- syntax, you can also use
-
- user@
-
- to reject all sender addresses witha user part of "user".
-
- The patch allows the use of a new control file, control/badrcptto. This file
- lists recipient addresses that should be rejected. You can use
-
- user@domain
-
- and
-
- @domain
-
- to specify invalid addresses. This can be useful if a spammer sends lots of
- messages to a nonexistant user from an invalid address, as otherwise,
- postmaster will get lots of double bounces.
-
-
- Examples of logged messages.
- ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
-
- Note: Some of the first ones might have changed slightly.
-
- 04.09.97 17:11:29 qmail-smtpd MAIL FROM: syntax check failed (erizo) -> (rask@k4315.kampsax.dtu.dk) [192.38.212.1] (HELO carlsberg.kampsax.dtu.dk)
- 09.09.97 22:59:21 qmail-smtpd Relayclient check failed (rask@ingemann.lambertsen.dk) -> (rask@kampsax.dtu.dk) [unknown] (HELO localhost)
- 09.09.97 23:50:50 qmail-smtpd Bad RCPT TO: check failed (rask@kampsax.k-net.dk) -> (findesikke@k4315.kampsax.dtu.dk) [unknown] (HELO localhost)
- 10.09.97 21:43:47 qmail-smtpd Connection to 130.225.73.110 timed out.
- 01.10.97 20:16:47 qmail-smtpd (temporary) MAIL FROM: DNS check failed (samba@samba.anu.edu.au) -> () [192.38.212.1] (HELO carlsberg.kampsax.dtu.dk)
- 06.10.97 09:30:30 qmail-smtpd MAIL FROM: DNS check failed (56457945@01890.com) -> () [192.38.212.1] (HELO carlsberg.kampsax.dtu.dk)
- 06.10.97 15:02:48 qmail-smtpd Bad MAIL FROM: check failed (cag1465@onestopshop.net) -> () [192.38.212.1] (HELO carlsberg.kampsax.dtu.dk)
- 07.10.97 16:51:54 qmail-smtpd Received: from k4315.kampsax.dtu.dk (HELO localhost)
- 07.10.97 22:59:53 qmail-smtpd Received: from unknown (HELO nevald.k-net.dk)
-